home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8526 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file C source, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 68 6f 77 6c 61 6e 64 2e | 72 65 73 74 6f 6e 2e 61 |howland.|reston.a|
|00000030| 6e 73 2e 6e 65 74 21 70 | 73 69 6e 6e 74 70 21 70 |ns.net!p|sinntp!p|
|00000040| 73 69 6e 6e 74 70 21 70 | 73 69 6e 6e 74 70 21 70 |sinntp!p|sinntp!p|
|00000050| 73 69 6e 6e 74 70 21 62 | 62 6e 65 77 73 31 21 74 |sinntp!b|bnews1!t|
|00000060| 72 73 76 72 21 6e 65 77 | 73 0a 46 72 6f 6d 3a 20 |rsvr!new|s.From: |
|00000070| 22 42 65 6e 6a 61 6d 69 | 6e 20 4d 2e 20 52 6f 6d |"Benjami|n M. Rom|
|00000080| 65 72 22 20 3c 62 6d 72 | 31 40 74 72 70 6f 34 2e |er" <bmr|1@trpo4.|
|00000090| 74 72 2e 75 6e 69 73 79 | 73 2e 63 6f 6d 3e 0a 53 |tr.unisy|s.com>.S|
|000000a0| 75 62 6a 65 63 74 3a 20 | 52 65 3a 20 4d 53 56 43 |ubject: |Re: MSVC|
|000000b0| 2b 2b 20 76 2e 31 2e 35 | 32 20 48 45 4c 50 20 4e |++ v.1.5|2 HELP N|
|000000c0| 45 45 44 45 44 21 21 0a | 53 65 6e 64 65 72 3a 20 |EEDED!!.|Sender: |
|000000d0| 6e 65 77 73 40 74 72 2e | 75 6e 69 73 79 73 2e 63 |news@tr.|unisys.c|
|000000e0| 6f 6d 20 28 63 6e 65 77 | 73 20 6e 65 77 73 20 69 |om (cnew|s news i|
|000000f0| 64 2e 29 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |d.).Mess|age-ID: |
|00000100| 3c 44 4d 73 30 77 44 2e | 47 79 35 40 74 72 2e 75 |<DMs0wD.|Gy5@tr.u|
|00000110| 6e 69 73 79 73 2e 63 6f | 6d 3e 0a 44 61 74 65 3a |nisys.co|m>.Date:|
|00000120| 20 57 65 64 2c 20 31 34 | 20 46 65 62 20 31 39 39 | Wed, 14| Feb 199|
|00000130| 36 20 31 37 3a 33 36 3a | 31 33 20 47 4d 54 0a 54 |6 17:36:|13 GMT.T|
|00000140| 6f 3a 20 63 61 73 65 79 | 40 73 79 6e 61 70 73 65 |o: casey|@synapse|
|00000150| 2e 6e 65 74 0a 58 2d 4e | 6e 74 70 2d 50 6f 73 74 |.net.X-N|ntp-Post|
|00000160| 69 6e 67 2d 48 6f 73 74 | 3a 20 62 6d 72 31 2e 74 |ing-Host|: bmr1.t|
|00000170| 72 2e 75 6e 69 73 79 73 | 2e 63 6f 6d 0a 43 6f 6e |r.unisys|.com.Con|
|00000180| 74 65 6e 74 2d 54 72 61 | 6e 73 66 65 72 2d 45 6e |tent-Tra|nsfer-En|
|00000190| 63 6f 64 69 6e 67 3a 20 | 37 62 69 74 0a 43 6f 6e |coding: |7bit.Con|
|000001a0| 74 65 6e 74 2d 54 79 70 | 65 3a 20 74 65 78 74 2f |tent-Typ|e: text/|
|000001b0| 70 6c 61 69 6e 3b 20 63 | 68 61 72 73 65 74 3d 75 |plain; c|harset=u|
|000001c0| 73 2d 61 73 63 69 69 0a | 52 65 66 65 72 65 6e 63 |s-ascii.|Referenc|
|000001d0| 65 73 3a 20 3c 34 66 73 | 6b 64 38 24 64 33 6d 40 |es: <4fs|kd8$d3m@|
|000001e0| 70 69 61 6e 6f 2e 73 79 | 6e 61 70 73 65 2e 6e 65 |piano.sy|napse.ne|
|000001f0| 74 3e 0a 4d 69 6d 65 2d | 56 65 72 73 69 6f 6e 3a |t>.Mime-|Version:|
|00000200| 20 31 2e 30 0a 58 2d 4d | 61 69 6c 65 72 3a 20 4d | 1.0.X-M|ailer: M|
|00000210| 6f 7a 69 6c 6c 61 20 31 | 2e 31 20 28 57 69 6e 64 |ozilla 1|.1 (Wind|
|00000220| 6f 77 73 3b 20 55 3b 20 | 31 36 62 69 74 29 0a 4f |ows; U; |16bit).O|
|00000230| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 55 6e 69 |rganizat|ion: Uni|
|00000240| 73 79 73 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 0a |sys Corp|oration.|
|00000250| 0a 55 73 65 20 74 68 65 | 20 22 44 69 61 6c 6f 67 |.Use the| "Dialog|
|00000260| 20 61 73 20 4d 61 69 6e | 20 57 69 6e 64 6f 77 22 | as Main| Window"|
|00000270| 20 73 65 74 74 69 6e 67 | 20 69 6e 20 41 70 70 57 | setting| in AppW|
|00000280| 69 7a 61 72 64 2e 20 49 | 74 20 73 68 6f 75 6c 64 |izard. I|t should|
|00000290| 20 63 72 65 61 74 65 0a | 61 20 64 69 61 6c 6f 67 | create.|a dialog|
|000002a0| 20 62 6f 78 20 72 65 73 | 6f 75 72 63 65 20 28 63 | box res|ource (c|
|000002b0| 61 6c 6c 65 64 20 49 44 | 52 5f 4d 41 49 4e 57 49 |alled ID|R_MAINWI|
|000002c0| 4e 2c 20 49 20 74 68 69 | 6e 6b 29 20 74 68 61 74 |N, I thi|nk) that|
|000002d0| 20 79 6f 75 20 63 61 6e | 20 69 6e 73 65 72 74 0a | you can| insert.|
|000002e0| 62 75 74 74 6f 6e 73 20 | 61 6e 64 20 6f 74 68 65 |buttons |and othe|
|000002f0| 72 20 63 6f 6e 74 72 6f | 6c 73 20 69 6e 74 6f 20 |r contro|ls into |
|00000300| 75 73 69 6e 67 20 74 68 | 65 20 72 65 73 6f 75 72 |using th|e resour|
|00000310| 63 65 20 65 64 69 74 6f | 72 2e 0a 0a 59 6f 75 20 |ce edito|r...You |
|00000320| 63 61 6e 20 61 6c 73 6f | 20 63 72 65 61 74 65 20 |can also| create |
|00000330| 63 6f 6e 74 72 6f 6c 73 | 20 61 74 20 72 75 6e 74 |controls| at runt|
|00000340| 69 6d 65 2e 20 41 64 64 | 20 61 20 6d 65 6d 62 65 |ime. Add| a membe|
|00000350| 72 20 76 61 72 69 61 62 | 6c 65 20 74 6f 20 74 68 |r variab|le to th|
|00000360| 65 20 0a 6d 61 69 6e 20 | 76 69 65 77 20 63 6c 61 |e .main |view cla|
|00000370| 73 73 20 28 75 73 69 6e | 67 20 43 6c 61 73 73 57 |ss (usin|g ClassW|
|00000380| 69 7a 61 72 64 29 20 74 | 6f 20 63 6f 6e 74 61 69 |izard) t|o contai|
|00000390| 6e 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 27 73 20 |n the co|ntrol's |
|000003a0| 6f 62 6a 65 63 74 2c 0a | 74 68 65 6e 20 6d 61 70 |object,.|then map|
|000003b0| 20 74 68 65 20 57 4d 5f | 43 52 45 41 54 45 20 6d | the WM_|CREATE m|
|000003c0| 65 73 73 61 67 65 20 28 | 61 67 61 69 6e 20 75 73 |essage (|again us|
|000003d0| 69 6e 67 20 43 6c 61 73 | 73 57 69 7a 61 72 64 29 |ing Clas|sWizard)|
|000003e0| 20 61 6e 64 20 61 64 64 | 20 74 68 65 0a 6c 69 6e | and add| the.lin|
|000003f0| 65 3a 0a 20 20 20 20 20 | 66 6f 6f 2e 43 72 65 61 |e:. |foo.Crea|
|00000400| 74 65 28 2f 2a 61 72 67 | 75 6d 65 6e 74 73 20 66 |te(/*arg|uments f|
|00000410| 6f 72 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 27 73 |or the c|ontrol's|
|00000420| 20 43 72 65 61 74 65 20 | 6d 65 74 68 6f 64 2a 2f | Create |method*/|
|00000430| 29 0a 0a 74 6f 20 64 79 | 6e 61 6d 69 63 61 6c 6c |)..to dy|namicall|
|00000440| 79 20 63 72 65 61 74 65 | 20 74 68 65 20 63 6f 6e |y create| the con|
|00000450| 74 72 6f 6c 20 69 6e 20 | 74 68 65 20 77 69 6e 64 |trol in |the wind|
|00000460| 6f 77 2e 0a 0a 49 20 63 | 6f 75 6c 64 20 68 65 6c |ow...I c|ould hel|
|00000470| 70 20 79 6f 75 20 66 75 | 72 74 68 65 72 20 69 66 |p you fu|rther if|
|00000480| 20 79 6f 75 27 64 20 65 | 78 70 6c 61 69 6e 20 74 | you'd e|xplain t|
|00000490| 68 65 20 70 72 6f 62 6c | 65 6d 20 69 6e 20 6d 6f |he probl|em in mo|
|000004a0| 72 65 20 64 65 74 61 69 | 6c 2e 2e 2e 0a 0a 0a 46 |re detai|l......F|
|000004b0| 72 65 65 6c 79 20 59 6f | 75 72 73 2c 0a 0a 42 65 |reely Yo|urs,..Be|
|000004c0| 6e 6a 61 6d 69 6e 20 4d | 2e 20 52 6f 6d 65 72 0a |njamin M|. Romer.|
|000004d0| 53 6f 66 74 77 61 72 65 | 20 45 6e 67 69 6e 65 65 |Software| Enginee|
|000004e0| 72 0a 55 6e 69 73 79 73 | 20 43 6f 72 70 6f 72 61 |r.Unisys| Corpora|
|000004f0| 74 69 6f 6e 0a 0a 23 69 | 6e 63 6c 75 64 65 20 3c |tion..#i|nclude <|
|00000500| 73 74 64 64 69 73 63 6c | 61 69 6d 2e 68 3e 0a 0a |stddiscl|aim.h>..|
|00000510| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+